package com.ilink.groundservice.service;

import com.ilink.groundservice.entity.PO.langflowApp.Download;
import com.ilink.groundservice.entity.PO.langflowApp.Folder;
import com.ilink.groundservice.entity.PO.langflowApp.Like;
import com.ilink.groundservice.entity.VO.langflowApp.*;

import java.util.List;

/**
 * <h3>new-ilink-java-backend</h3>
 *
 * @Description <p>Langflow应用广场后端service</p>
 * @Author 30955
 * @Date 2024-09-19 18:28
 **/
public interface LangflowAppService {
    public CheckStoreResult check();
    public UploadFlowResult uploadFlow(UploadFlowInfo component);
    public UpdateFlowResult updateFlow(UploadFlowInfo component);
    public GetFlowsByConditionResult getFlowsByCondition(QueryConditionInfo condition);
    public LikeFlowResult toggleLike(Like like);
    public DownloadFlowResult downloadFlow(Download download);
    public GetTagsResult getTags();
    public List<DownloadFlowResult> getAllFlows();
    public List<DownloadFlowResult> getChatFlows(String flowId);
    public List<Folder> selectFolderByUserId(String userId);
    public List<UserApiKeys> getAllUserApiKeys(String userId);

}
